package com.ruoyi.system.service.impl;

import com.mybatisflex.solon.service.impl.ServiceImpl;
import com.ruoyi.system.domain.SysSqlLog;
import com.ruoyi.system.mapper.SysSqlLogMapper;
import com.ruoyi.system.service.ISysSqlLogService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

/**
 * SQL审计 服务层实现
 * @author ruoyi
 */
@Component
public class SysSqlLogServiceImpl extends ServiceImpl<SysSqlLogMapper, SysSqlLog> implements ISysSqlLogService {

    @Inject
    SysSqlLogMapper sysSqlLogMapper;

    /**
     * 清空SQL审计
     */
    @Override
    public void clean() {
        sysSqlLogMapper.clean();
    }

}
